"""
演示Python中的运算符

"""
# 算数运算符
print("1 + 1 = ", 1 + 1)
print("2 - 1 = ", 2 - 1)
print("3 * 3 = ", 3 * 3)
print("4 / 2 = " , 4 / 2)
print("5 / 2 = " , 5 / 2)
print("10 // 2 = " , 10 // 2)
print("11 // 2 = " , 11 // 2)
print("17 % 5 = ",  17 % 5 )
print("2 ** 3 = ", 2 ** 3 )

# 赋值运算符
num = 1 + 2 * 3
print("赋值运算符：",num)

# 符合赋值运算符
num = 1
num += 1
print("num += 1: ", num)
num //= 4
num *= 4
num /= 2





